np.argsort reverse

35

argsort in descending order numpy -

avgDists.argsort()[::-1][:n]

Comments

Submit
0 Comments